home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / apidev / envp.arc / ENVP.TXT < prev   
Text File  |  1989-01-15  |  695b  |  16 lines

  1. (c) Cyco software, the Netherlands, januari 1989
  2. .
  3. Routines to handle the environment of the parent proces.
  4. A normal DOS process only gets a copy of the original environment.
  5. Any changes made to that environment are only accessable to child
  6. programs (programs that the parent program runs).
  7. These routines may be used to change the environment of the parent.
  8. In most cases the parent process is COMMAND.COM, so with these
  9. routines you can build your own dos 'SET' statement.
  10. The example included at the bottom sets the current drive and
  11. directory in the environment variables DRV and CWD. In batch
  12. files they can be used with the %DRV% and %CWD% method.
  13. .
  14. Bart mellink 76702,256
  15.  
  16.